<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>提交订单</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, user-scalable=no,viewport-fit=cover">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" href="../../css/common.css" />
		<link rel="stylesheet" href="../../css/order/preview.css" />
		<script type="application/javascript" src="../../js/common/static_common.js"></script>
	</head>
	<body>
		<span id="app" v-cloak>
			<header title="确认订单"></header>

			<div class="_div data-v-3d6e760a container">
				<div class="_scroll-view data-v-3d6e760a" scroll-y="" style=" height:100%;">
					<div class="_div data-v-3d6e760a info">
						<div class="_div data-v-3d6e760a un_dv" data-comkey="0" data-eventid="2"  v-if="!defaultAddr" @click="toAddress()">
							<p class="_p data-v-3d6e760a goto_choose">请选择收货地址</p>
							<img class="_img data-v-3d6e760a n_icon" src="../../images/mine/xiayibu@2x.png" />
						</div>
						<div class="_p data-v-3d6e760a user_name" data-comkey="0" data-eventid="0" v-if="defaultAddr">
							收货人：{{address.name}}
							<span class="_span data-v-3d6e760a tel">{{address.tel}}</span>
						</div>
						<div class="_div data-v-3d6e760a dv" data-comkey="0" data-eventid="1" v-if="defaultAddr" @click="toAddress()">
							<img class="_img data-v-3d6e760a icon_gps" src="../../images/shouye/dingwei@2x.png" />

							<div class="_p data-v-3d6e760a address">收货人地址:{{address.area}} {{address.address}}</div>
							<img class="_img data-v-3d6e760a icon_right" src="../../images/mine/xiayibu@2x.png" />
						</div>
						<div class="_div data-v-3d6e760a address_line"></div>
					</div>
					<div class="_div data-v-3d6e760a mall" v-for="item in shopList">
						<div class="_div data-v-3d6e760a imgbox">
							<img class="_img data-v-3d6e760a mall_img" :src="imgUrl+item.logoPath.split(',')[0]" />
						</div>
						<span class="_span data-v-3d6e760a mall_name">{{item.name}}</span>
						<span class="_span data-v-3d6e760a mall_num">×{{item.count}}</span>
						<span class="_span data-v-3d6e760a mall_specs">{{item.modelName}}</span>
						<div class="_div data-v-3d6e760a mall_price">
							<div class="_div data-v-3d6e760a pay_type">
								<span class="_span data-v-3d6e760a price">
									<span class="_span data-v-3d6e760a money">
										<span class="_span data-v-3d6e760a money_cent">￥</span>{{item.price}}</span>
									<span class="_span data-v-3d6e760a cent" v-if="item.points>0">
										<span class="_span data-v-3d6e760a money_cent"> + 积分</span>{{item.points}}
									</span>
								</span>
							</div>
						</div>
					</div>
					<div class="_div data-v-3d6e760a use_count">可消费积分:
						<span class="_span data-v-3d6e760a">{{points}}</span>
					</div>
					<div class="_div data-v-3d6e760a note_book">
						<p class="_p data-v-3d6e760a beizhu">备注:</p>
						<input class="_input data-v-3d6e760a beizhu_inp" type="text" value="" v-model="remark" />

						<span class="_p data-v-3d6e760a beizhu_icon" data-comkey="0" data-eventid="7" @click="clearRemark()">
							<img class="_icon data-v-3d6e760a" color="#aaa" size="20" type="clear" src="../../images/beizhu.png" style="width: 40px;" />
						</span>
					</div>
					<div class="_div data-v-3d6e760a use_count" v-if="!zugou">
						<span class="_span data-v-3d6e760a"> 亲！由于您积分余额不足以抵扣商品积分，不足部分将以现金支付!</span>
					</div>
					<p class="_p data-v-3d6e760a text">
						商品金额
						<span class="_span data-v-3d6e760a text1 red_color">¥{{fixes_price}}</span>
					</p>
					<p class="_p data-v-3d6e760a text" v-if="kou_credit>0">
						积分抵扣
						<span class="_span data-v-3d6e760a text1 orange_color">-{{kou_credit}}</span>
					</p>
					<div class="_div data-v-3d6e760a text text_last">
						运费
						<span class="_span data-v-3d6e760a text1 red_color">￥0.00</span>
					</div>
					<div class="_div data-v-3d6e760a text text_last1"></div>
					<div class="_div data-v-3d6e760a bottom">
						<div class="_div data-v-3d6e760a bottom_item">
							<div class="_div data-v-3d6e760a total_bottom">
								合计:
								<p class="_p data-v-3d6e760a price n_price">
									<span class="_span data-v-3d6e760a cent" v-if="all_credit>0">
										<i class="_i data-v-3d6e760a money_cent money_cents">积分 </i>{{all_credit}}
									</span>
									<span class="_span data-v-3d6e760a money">￥{{fixes_price}}</span>
								</p>
							</div>
							<button class="_button data-v-3d6e760a calculate" @click="submitOrder()">提交订单</button>
						</div>
					</div>
				</div>
			</div>
			<form :action="baseUrl+'order/pay/appWx'" style="display: none;" method="get" enctype="application/x-www-form-urlencoded" ref="sForm">
				<input ref="orderNo" type="text" name="orderNo" v-model="orderNo"/>
				<input type="text" name="openid" v-model="openid"/>
				<input ref="httpIpPort" type="text" name="httpIpPort" v-model="httpIpPort"/>
				<input type="submit" ref="submitForm" value="提交"/>
			</form>
		</span>
	</body>
	<script type="application/javascript" src="../../js/order/preview.js"></script>
</html>
